#pragma once

//#include <srs_utest_config.hpp>
#include <srs_utest.hpp>
#include <srs_app_config.hpp>
#include <string>

#define _MIN_OK_CONF "listen 1935; "

class MockSrsConfigBuffer : public _srs_internal::SrsConfigBuffer {
public:
    MockSrsConfigBuffer(const std::string& buf);
    virtual ~MockSrsConfigBuffer();
public:
    virtual int fullfill(const char* filename);
};

class MockSrsConfig : public SrsConfig {
public:
    MockSrsConfig();
    virtual ~MockSrsConfig();
public:
    virtual int parse(const std::string& buf);
};
